package config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;

/**
 * @Author: lafangyuan
 * @Date: 2021/11/24 10:37
 */
//@Configuration
//@EnableWebSecurity
public class MultiHttpSecurityConfig extends WebSecurityConfigurerAdapter{

//    @Override
//    protected void configure(AuthenticationManagerBuilder  auth) throws Exception {
//        auth
//                .inMemoryAuthentication()
//                .withUser("admin").password("wnjk#123456").roles("USER", "ADMIN");
//    }

}
